<?php
include_once "class/Heap.php";
include_once "func/rand.php";

$rand_list=randUniqueIntList2(100);
print_r($rand_list);

$heap=new Heap();
$heap->insertList($rand_list);
echo $heap->output();

$sort_list=$heap->popMinList();
print_r($sort_list);